import { OT, ktlapi } from "@/utils";

/** 获取上一节课的词汇 */
export const getPrevLessonWord = (LessonId: string) => {
	return ktlapi({
		apiurl: OT.CommandSet,
		action: 'Cus_GetPrevLessonWord',
		data: {
			LessonId
		}
	})
}

/** 获取需要学习的句子 */
export const getLessonSentence = (LessonId: string) => {
	return ktlapi({
		apiurl: OT.CommandSet,
		action: 'Cus_GetLessonSentenceByStudent',
		data: {
			LessonId
		}
	})
}
